package com.fulu.game.bi.controller.market;

import com.fulu.game.bi.entity.vo.market.TodayRealtimeStatDisplayVO;
import com.fulu.game.bi.redis.service.market.TodayRealtimeStatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 数据总览 - 今日实时
 */
@RequestMapping("/api/v1/today-realtime")
@RestController
public class TodayRealtimeStatController {

    @Autowired
    private TodayRealtimeStatService todayRealtimeStatService;

    /**
     * 今日实时
     */
    @RequestMapping("/tody")
    public TodayRealtimeStatDisplayVO today()  {
        return todayRealtimeStatService.today();
    }

}
